package com.mku.wms_service.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mku.wms_service.common.QueryPageParam;
import com.mku.wms_service.common.Response;
import com.mku.wms_service.entity.Storage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author maoxx
 * @since 2024-11-22
 */
public interface IStorageService extends IService<Storage> {

    Response<Page<Storage>> getListByPage(QueryPageParam qp2);

    Response<Storage> add(Storage storage);

    Response<Storage> delete(Integer id);

    Response<List<Storage>> listAll();
}
